<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-cf"><{$tit}>列表</div>
                </div>
                <div class="am-tabs am-margin-bottom">
                    <{tabTit1($tabtit)}>
                </div>
                <div class="widget-body am-fr">
                    <{if $tips}>
                    <div class="tips am-margin-bottom-sm am-u-sm-12">
                        <div class="pre">
                            <p> 1：</p>
                        </div>
                    </div>
                    <{/if}>
                    <!-- 工具栏 -->
                    <div class="page_toolbar am-margin-bottom-xs am-cf">
                        <{include file=$m.'/public/toolbar.php'}>
                    </div>
                    <div class="page_toolbar am-margin-bottom-xs am-cf">
                        <div class="am-u-sm-12 am-u-md-6">
                            <div class="am-form-group">
                                <div class="am-btn-group am-btn-group-xs">
                                    <a class="j-qrcode1 am-btn am-btn-default am-btn-secondary" href="javascript:void(0);">
                                        <span class="am-icon-save"></span> 报修二维码
                                    </a>
                                    <a class="j-qrcode2 am-btn am-btn-default am-btn-warning" href="javascript:void(0);">
                                        <span class="am-icon-save"></span> 绑定二维码
                                    </a>
                                    <a class="j-zip am-btn am-btn-default am-btn-success" href="/<{$routeUrl}>/zipdown">
                                        <span class="am-icon-save"></span> 下载二维码
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12">
                        <form id="form-opid" method="post" action="">
                        <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                            <thead>
                            <tr>
                                <th>
                                    <label class="am-checkbox-inline">
                                        <input type="checkbox" id="checkedAllBtn" data-am-ucheck />
                                        ID
                                    </label>
                                </th>
                                <th>名称</th>
                                <th>电话</th>
                                <!-- <th>报修二维码</th>
                                <th>绑定二维码</th> -->
                                <th>公众号标签</th>
                                <th>排序</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php if (!empty($list)): foreach ($list as $val): ?>
                                <tr>
                                    <td class="am-text-middle">
                                        <label class="am-checkbox-inline">
                                            <input type="checkbox" name="opid[]" value="<?= $val['id'] ?>" data-am-ucheck />
                                            <?= $val['id'] ?>
                                        </label>
                                    </td>
                                    <td class="am-text-middle"><{if $val['name_h1']}><?= $val['name_h1'] ?><{else}><?= $val['name'] ?><{/if}></td>
                                    <td class="am-text-middle"><?= $val['tel'] ?></td>
                                    <!-- <td class="am-text-middle">
                                        <a href="/upload/zone/<?= $val['company_id'] ?>/baoxiu/<?= $val['company_id'] ?>_<?= $val['id'] ?>.png" title="点击查看大图" target="_blank">
                                            <img src="/upload/zone/<?= $val['company_id'] ?>/baoxiu/<?= $val['company_id'] ?>_<?= $val['id'] ?>.png" width="72" height="72" alt="">
                                        </a>
                                    </td>
                                    <td class="am-text-middle">
                                        <a href="/upload/zone/<?= $val['company_id'] ?>/reg/<?= $val['company_id'] ?>_<?= $val['id'] ?>.png" title="点击查看大图" target="_blank">
                                            <img src="/upload/zone/<?= $val['company_id'] ?>/reg/<?= $val['company_id'] ?>_<?= $val['id'] ?>.png" width="72" height="72" alt="">
                                        </a>
                                    </td> -->
                                    <td class="am-text-middle"><?= $val['tag'] ?></td>
                                    <td class="am-text-middle"><?= $val['sort'] ?></td>
                                    <td class="am-text-middle">
                                        <{include file=$m.'/public/act.php'}>
                                    </td>
                                    <td class="am-text-middle">
                                        <{include file=$m.'/public/edit.php'}>
                                    </td>
                                </tr>
                            <?php endforeach; else: ?>
                                <tr>
                                    <td colspan="5" class="am-text-center">暂无记录</td>
                                </tr>
                            <?php endif; ?>
                            </tbody>
                        </table>
                        </form>
                    </div>
                    <div class="am-u-lg-12 am-cf">
                        <{$showPage nofilter}>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {


        // 状态
        $('.j-qrcode1').opid('id', "/<{$routeUrl}>/qrcode1");
        // 状态
        $('.j-qrcode2').opid('id', "/<{$routeUrl}>/qrcode2");

    });
</script>

